Insufficiency of First Order Logic as a Database Query Language
نویسنده
چکیده
The paper explores “logic+control” programming paradigm, applied to a relational domain. Even though it looks natural to utilize first order logic as a database query language, the paper reveals some shortcomings of such an approach. Particular attention is paid to: a) the semantics of negation and other non-monotonic reasoning notions, b) infinite or time consuming recursions, c) embedded PROLOG data structures and control mechanisms. The dual interpretation of logic programs (procedural and declarative) provides a ground to study formalisms for non-monotonic reasoning. It is shown that the formal meaning of negation, which grew out of an attempt to capture commonsense reasoning, is not complete and renders some PROLOG control mechanisms unsound. Moreover, attempts to better understand negation led to mechanisms that often do not terminate due to infinite positive or negative loops.
منابع مشابه
انتخاب مناسبترین زبان پرسوجو برای استفاده از فراپیوندها جهت استخراج دادهها در حالت دیتالوگ در سامانه پایگاه داده استنتاجی DES
Deductive Database systems are designed based on a logical data model. Data (as opposed to Relational Databases Management System (RDBMS) in which data stored in tables) are saved as facts in a Deductive Database system. Datalog Educational System (DES) is a Deductive Database system that Datalog mode is the default mode in this system. It can extract data to use outer joins with three query la...
متن کاملTemporal Logic in Database Query Languages
DEFINITION The term “temporal logic” is used, in the area of formal logic, to describe systems for representing and reasoning about propositions and predicates whose truth depends on time. These systems are developed around a set of temporal connectives, such as sometime in the future or until, that provide implicit references to time instants. First-order temporal logic is a variant of tempora...
متن کاملEpistemic First-order Queries over Description Logic Knowledge Bases
Querying Description Logic knowledge bases has received great attention in the last years. The need of coping with incomplete information is the distinguishing feature with respect to querying databases. Due to this feature, we have to deal with two conflicting needs: on the one hand, we would like to query the knowledge base with sophisticated mechanisms provided by full first-order logic as i...
متن کاملChair for Automata Theory LTCS – Report Temporal
Ontology-based data access (OBDA) generalizes query answering in relational databases. It allows to query a database by using the language of an ontology, abstracting from the actual relations of the database. For ontologies formulated in Description Logics of the DL-Lite family, OBDA can be realized by rewriting the query into a classical first-order query, e.g. an SQL query, by compiling the ...
متن کاملNonmonotonic Databases and Epistemic Queries
The approach to database query evaluation developed by Levesque and Reiter treats databases as first order theories, and queries as formulas of the language which includes, in addition to the language of the database, an epistemic modal operator. In this epistemic query language, one can express questions not only about the external world described by the database, but also about the database i...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007